Setting up Java Environment Using Command Prompt: Setting up Java Environment Using Environmental Variable: Steps to Run Java P...
Read More
3 Write the java Program to demonstrate the use of If else-if ladder. And display student grading as fail, D grade, C grade, B grade, A grade and A+.
Code: public class IfElseIfExample { public static void main(String[] args) { int marks=65; if(marks<50) { System...
Read More
2 Write the program to demonstrate the use of method that take variable length arguments using Var-args function in Java.
Code: class VarargExample { public int sumNumber(int ... args) { System.out.println("argument length: " + args.length)...
Read More
1 Write the program to demonstrate the use of for-each version of for loop in Java.
Code: public class Test { public static void main(String args[]) { int [] numbers = {10, 20, 30, 40, 50}; for(int x : num...
Read More
32 Program for Panel Control in VB.NET
Form Design: Code: Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load P...
Read More
31 Program for Tool Strip Menu in VB.NET
Form Design: Code: Public Class Form1 Private Sub SaveToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles Save...
Read More
30 Program using Picture Box Control to load an image at run time in VB.NET
Code: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If OpenFileDia...
Read More
29 Program for Window Application using Picture Box in VB.NET
Form Design: Code: Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load ...
Read More
Subscribe to:
Posts (Atom)