17/08/2022
Introduction to Digital Logic Gates ๐น
What's on this topic ?
๐ Brief Introduction
๐ 7 Logic Gates + Symbol
๐ Basic + Derived Logic Gates
Links
๐ Circuit Construction using Breadboard
๐ Virtual Stimulator for circuit visualization mainly for those whose main focus is on computer science
Tags
This post is designed using figma๐
02/01/2022
๐ป Last Post on Constructor (9/9)
Topic: Constructor Chaining ๐
As the name suggests, Chaining the Constructor means to call one Constructor from another.
It can either be changed implicitly:
When extends one class with other ( Inheritance ) then the default constructor( for eg. Animal( ) ) from the parent class if present, then it is called implicitly.
It can explicitly be called using keywords like:
this: Chaining within the class
super: Chaining with parent class
Definition
Visualization
Code Snippet
Output
Is provided in the post. If you like our post then please like and share with your friends โค๏ธ
Do follow us
๐๐๐
Wish you a very happy new year
๐ฅณ๐ฅณ๐ฅณ
Class Tags{
}
26/12/2021
๐งCopy Constructor
-> Direct Initialization
-> Object Passing
๐ผ๐ผ๐ผ
= = = = = = = = = = =
// Direct Initialization
class Copy
{
int marks;
Copy(int marks){ this.marks = marks; }
void updateMarks(int marks){ this.marks = marks; }
void getMarks(){
System.out.println("Marks = "+marks);
}
public static void main(String[] args){
Copy topper = new Copy(90);
Copy backbencher = topper;
System.out.println("\nDirect: Copy Constructor");
topper.getMarks();
backbencher.getMarks();
System.out.println("\nTopper Marks Updated");
topper.updateMarks(92);
topper.getMarks();
backbencher.getMarks();
System.out.println("\nBackbencher Marks Updated");
backbencher.updateMarks(80);
topper.getMarks();
backbencher.getMarks();
}
}
= = = = = = = = = = =
๐ฆ๐ฆ๐ฆ
= = = = = = = = = = =
// Object Passing
class Copy
{
int marks;
Copy(int marks){ this.marks = marks; }
Copy(Copy val){ this.marks = val.marks; }
void updateMarks(int marks){ this.marks = marks; }
void getMarks(){
System.out.println("Marks = "+marks);
}
public static void main(String[] args){
Copy topper = new Copy(90);
Copy backbencher = new Copy(topper);
System.out.println("\nDirect: Copy Constructor");
topper.getMarks();
backbencher.getMarks();
System.out.println("\nTopper Marks Updated");
topper.updateMarks(92);
topper.getMarks();
backbencher.getMarks();
System.out.println("\nBackbencher Marks Updated");
backbencher.updateMarks(80);
topper.getMarks();
backbencher.getMarks();
}
}
= = = = = = = = = = =
Please like, share & follow if you like our content. Please leave a comment for any query or suggestions.
class Tags{
Please like, share & follow if you like our content. Please leave a comment for any queries or suggestions.
}
13/11/2021
๐Understand what actually is
๐ฑProgramming Paradigm๐ฑ...
Types of Paradigms
๐ดdeclarative
./functional
./logical
./database_query
๐ตimperative
./procedural
./object-oriented
Nowadays most of the programming languages are Multi-Paradigm in nature
๐คฏ๐คฏ๐คฏ
cpp ๐ C++
js ๐ JavaScript
py ๐ Python
rb ๐ Ruby
and so on
If you like our content please
๐ฑ๐ฑLIKE, SHARE & FOLLOW๐ฑ๐ฑ
___________________________
11/11/2021
Wrapping up the OOP Concept with 10+ oop pillar [Overview, imp links]...
>> Post
class
object
encapsulation
abstraction
data_hiding
polymorphism
./overloading
./overriding
inheritance
>> Resources in GitHub.md
cohesion
coupling
association
aggregation
composition
Hope you'll like our efforts and support us by liking, following, sharing our content.
๐๐๐
System.exit(๐โโ๏ธ๐โโ๏ธ๐);