排序
Task-7
Task-7,Assignment 7: Goal: Learning Inheritance, super keyword and Method Overriding Grandma: Create a class called 'Grandma'. Declare Field as below in it. String name = 'Stella';...
Super Keyword in Java
Super Keyword in Java,Super Keyword in Java The super keyword in Java is a reference variable which is used to refer immediate parent class object. Whenever you create the instance...
Task-24/01/2025
Task-24/01/2025,Assignment 5: Method Calling, private Goal: Learning Method Calling, Accessing static, non-static variables from other classes, private modifier. Steps: Create a cl...
Task-23/01/2025
Task-23/01/2025,Task 4: Assignment - 4 GOAL: Understanding Multilevel Inheritance, Abstraction Create an abstract class called HeadOffice. Have below normal methods in it. 2.1. pub...
Task-22/01/2025
Task-22/01/2025,Task 1: Assignment - 0: static, non-static Create a class Called Theatre. Declare below global variables in it. 2.1. String movieName 2.2. int movie_time Add main m...
Keyword:Abstract-Extends,Interface-Implements
Keyword:Abstract-Extends,Interface-Implements,Java abstract Keyword The abstract keyword is used to achieve abstraction in Java. It is a non-access modifier which is used to create...
Inheritance
Inheritance,Inheritance in Java Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object. It is an important part of OOPs...
System.out.println()
System.out.println(),What Is System.Out.Println in Java? To define System.out.println() in Java, it is a simple statement that prints any argument you pass and adds a new line afte...
DTO & DAO in Software Development
DTO & DAO in Software Development,DTO (Data Transfer Object) and DAO (Data Access Object) are key design patterns often used in software development, particularly in Java-based app...
Constructor
Constructor,1) What is a Constructor? ---> In Java, a constructor is a block of codes similar to the method. It is called when an instance of the class is created. At the time o...
Java Constructors
Java Constructors,Java Constructors: Java constructors or constructors in Java is a terminology used to construct something in our programs. A constructor in Java is a special meth...
Non-primitive data type
Non-primitive data type,Java programming language has two types of data types Primitive data types (predefined data types) Non-primitive data types Enter fullscreen mode Exit fulls...