Join Regular Classroom : Visit ClassroomTech

Epam Full Question Paper Solved | Set- B | Part-II | codewindow.in

void func(Queue q)
{
	int i;
	if(!isEmpty(q))
	{
		i = delete(q);
		func(q);
		insert(q,i);
	}
}
String n_squares(int n){
	StringBuffer s = new StringBuffer("0");
	int n_squared = n*n;
	for (int i = 0; i<n_squared; i++) {
		s.append(", "+i);
	}
	return s.toString();
}
void function(struct node* head){
	if(head == NULL)
		return;
	function(head->next);
	printf("%d ", head->data);
}
void main() /* Assume array begins at 1200 */
{
    int arr[] = {2, 3, 4, 1, 6}
    printf("%u %d", arr, sizeof(arr));
}
public class Plant {
	private String name;
	public Plant(String name) {this.name = name;}
	public String getname(){return name;}
}
public class Tree extends Plant {
	public void growFruit() { }
	public void dropLeaves() { }
}
private String thing;
String getThing() {
	return thing;
}
public class Tester {
	static void call(Long x, Long y){
		System.out.print("Long x, Long y");
	}
	static void call (int... x){
		System.out.print("int... x");
	}
	static void call(Number x, Number y){
		System.out.print("Number x, Number y");
	}
	public static void main(String[] args){
		int val = 3;
		call(val, val);
	}
}
public boolean testVal(int a){
    // ????
}
Stream s = Stream.generate(()->"meow");
boolean match = s. ___________(String::isEmpty);
System.out.println(match);
public void setupFrame(String example) {
    JButton button = new JButton("Example");
    button.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
            System.out.println(example);
        }
    });
}

Also Checkout

Recent Posts
Categories
Pages