Java Tutorial - 35 | Super keyword | Super keyword for variables, methods and constructors | Sinhala

preview_player
Показать описание
Java Tutorial - 35 | Super keyword in Java | Super keyword for variables, methods, and constructors | Sinhala
-----------------------------------
The super keyword in java refers to the objects of the immediate parent class. In this guide, we will see the use of super with variable, method, and constructor.

▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

#programming
#sinhala
#codeprolk
Рекомендации по теме
Комментарии
Автор

Thank you so much ayya, actually I struggled during lectures of object oriented design pattern which leaned using java. Within 2 days after watching up to this video, I could able to understand codes explained by lecture . Thank you so much again and again. ❤

Kira-fjel
Автор

Thanks alot, Godak lesiyen igena ganna puluwan una Java.

iroshanvidanage
Автор

supiri, interface and printing with full projrct ekak karanna

niroshandasanayaka
Автор

මම Python code කරන්නේ vs code එකෙන් මට එකේ turtle module එකත් එක්ක තියෙන Python files run කරන්න බෑ.මම cmd එකෙත් run කරන්න හැදුවා ඒකෙත් error එකක් එනවා ඒ මොකද?

janirusehansa
Автор

public class Main {
public static void main(String[] args) {

kamal obj=new kamal("Devinda", 22, 13, "ANC");}
}
class Student{
String name;
int age;
int grade;
String school_name;
Student(String name, int age, int grade, String school_name){
this.age=age;
this.grade=grade;
this.name=name;
this.school_name=school_name;

}
}
class kamal extends Student {
kamal(String name, int age, int grade, String school_name){
this.age=age;
this.grade=grade;
this.name=name;
this.school_name=school_name;
// super(name, age, grade, school_name);
System.out.println(
name+"\t"
+age+"\t"
+grade+"\t"
+school_name);
}
}
class C {
public void meth1 (){

}}
sir meka run wen naane
supper keyword eka nathuwa run karanna bada ethakota

DevindaDilshan-mj