Computer Science, asked by sunny270598, 3 months ago

Number of threads in below java program is
public class ThreadExtended extends Thread (
public void run() {
System.out.println("\nThread is running now\n");
]
public static void main(String[] args) {
ThreadExtended threadE = new ThreadExtended);
threadE.start();
]
}
}​

Answers

Answered by kirti222
1

System. out. println(++a);

System .out .println(a++);

System .out. print( a++);

System .out .print(++a);

System .out. println( a);

2.int x=5;

System .out.print( x++);

Similar questions