No Image

What is a Java Constructor

January 9, 2020 Shalima 0

A java constructor is a special method used to initialize java objects. Constructor can be used to set initial values for object attributes. Constructor is called when an […]

No Image

Nested Java program loops

March 25, 2018 Sharath Chandran 0

Nested Java program loops import java.util.Scanner; class NestedIfElse { public static void main(String[] args) { int marksObtained, passingMarks; char grade; passingMarks = 40; Scanner input […]