
18 hours agoimport java.util.Scanner; class Person { String name; int age; } interface Library { void displayBooks(); } class Student extends Person implements Library { String book; Student(String n, int a, String b) { name = n; age = a; book = b; } public void displayBooks() { System.out.println("Issued Book: " + book); } void display() { System.out.println("Name: " + name); System.out.println("Age: " + age); displayBooks(); } } public class exp3_5 { public static void main(String[] args) { System.out.println("Emili"); Scanner sc = new Scanner(System.in); System.out.print("Enter name: "); String n = sc.nextLine(); System.out.print("Enter age: "); int a = sc.nextInt(); sc.nextLine(); System.out.print("Enter issued book: "); String b = sc.nextLine(); Student s = new Student(n, a, b); s.display(); sc.close(); } }interface Sports { void sportsActivity(); } interface Cultural { void culturalActivity(); } class Student implements Sports, Cultural { public void sportsActivity() { System.out.println("Student participating in Cricket."); } public void culturalActivity() { System.out.println("Student participating in Dance."); } } public class MultipleInheritance { public static void main(String[] args) { System.out.println("Emili"); Student s = new Student(); s.sportsActivity(); s.culturalActivity(); } }import java.util.Scanner; class Person { String name; int age; } interface Library { void displayBooks(); } class Student extends Person implements Library { String book; Student(String n, int a, String b) { name = n; age = a; book = b; } public void displayBooks() { System.out.println("Issued Book: " + book); } void display() { System.out.println("\n--- Student Details ---"); System.out.println("Student Name: " + name); System.out.println("Age: " + age); displayBooks(); } } public c
21 hours agoPalestine is a historic region in the Middle East comprising the West Bank, Gaza Strip, and East Jerusalem, with a rich cultural heritage and complex political history. It has been inhabited for thousands of years and was once part of major empires like the Ottoman and British. Following the establishment of Israel in 1948 and subsequent wars, many Palestinians became refugees, and the region has since experienced ongoing conflict, especially regarding borders, the status of Jerusalem, and Palestinian statehood. The West Bank is governed by the Palestinian Authority, while Gaza is controlled by Hamas. Although over 140 countries recognize Palestine as a state, it is not a full UN member. Palestinians maintain a vibrant culture rooted in Arab traditions, but face severe humanitarian challenges, especially in Gaza, due to blockades, displacement, and infrastructure destruction. Despite repeated international peace efforts, the Israeli-Palestinian conflict remains unresolved, with violence, political tension, and humanitarian crises continuing into 2025.
