Thursday , July 7 2022
Home / Java Programming / Programming Fundamentals

Programming Fundamentals

Static and Dynamic Arrays

What is difference between Static and Dynamic Arrays: Static simply means fixed and dynamic simply means having changing behavior. So in case of Static Arrays the maximum size of the arrays should be declared at the time of array creation. While the dynamic arrays can adapt the size on the …

Read More »

Quiz Java Arrays

Quiz Java Arrays You must know what are Arrays? How to Declare and Create Arrays? You must have enough practice program examples Using Arrays. You must know the mechanism of Passing Arrays to Methods. Create a Class ResultBook Using an Array to Store the Students Grades. What are Multidimensional Arrays? …

Read More »

Java Scanner

Use of Java Scanner API: import java.util.Scanner; public class JavaScanner { public static void main(String[ ] args) { // create a object of java scanner class Scanner sc = new Scanner(System.in); // get the integer input from a user and store it in variable num int num = sc.nextInt( ); …

Read More »