Method overloading in Java allows methods within a class to have the same name but different parameters. It increases readability and allows methods to perform similar tasks with different input parameters. Method overloading is determined by Java by first matching the method name and then the number and type of parameters. It can be done based on the number of parameters, data type of parameters, or sequence of data types in parameters. The main advantage is that it performs tasks efficiently with variations in argument types or numbers under the same method name. A disadvantage is that it can be difficult for beginners and requires more design effort in the parameter architecture.
This document discusses constructor overloading in Java. It defines constructors as special methods that initialize objects. There are two types of constructors: default (no-argument) constructors and parameterized constructors. Constructor overloading allows a class to have multiple constructors that differ in their parameter lists. This allows constructors to perform different initialization tasks depending on the arguments passed. The document provides examples of default, parameterized, and overloaded constructors.
The document discusses method overloading and overriding in Java. It defines method overloading as having multiple methods with the same name but different parameters, while overriding involves subclasses providing specific implementations of methods in the parent class. It provides examples of overloading methods by changing parameters and data types, and explains why overriding is not possible by only changing the return type due to ambiguity. The use of the super keyword to refer to parent class members is also explained.
This document discusses various PHP functions and concepts related to working with databases in PHP, including:
- PHP functions for arrays, calendars, file systems, MySQL, and math
- Using phpMyAdmin to manage MySQL databases
- The GET and POST methods for passing form data
- SQL commands for creating, altering, and manipulating database tables
- Connecting to a MySQL database from PHP using mysql_connect()
It provides code examples for using many of these PHP functions and SQL commands to interact with databases. The document is an overview of key topics for learning PHP database programming.
The document discusses the use of the keywords super and this in Java. Super allows subclasses to access methods and fields of the parent class that have been overridden or hidden. It has two forms - to call the parent constructor or to access a hidden parent member. This refers to the current object and is used to avoid name conflicts between instance variables and local variables.
This document discusses methods and constructors in Java, explaining that methods are collections of statements that perform operations while constructors initialize objects when they are first created and have the same name as the class. It provides examples of method and constructor declarations and calls, demonstrating how to define methods with different parameters and initialize objects using constructors.
- Arrays allow storing multiple values in a single variable. They are useful for problems that require working with several variables at once, like calculating exam averages for 100 students.
- Arrays are initialized with a size and values can be stored and retrieved using indexes. Common issues include accessing indexes outside the array bounds or failing to initialize arrays properly.
- Command line arguments provide a way to pass user input to a program via the command line when it is launched. The arguments are stored in a String array that is initialized for the program.
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
Polymorphism is the ability of an object to take more than one forms. It is one of the important concept of object-oriented programming language. JAVA is object-oriented programming language which support the concept of polymorphisms.
Alternatively, it is defined as the ability of a reference variable to change behavior according to what object instance it is holding.
This document discusses polymorphism and inheritance concepts in Java. It defines polymorphism as an object taking on many forms, and describes method overloading and overriding. Method overloading allows classes to have multiple methods with the same name but different parameters. Method overriding allows subclasses to provide a specific implementation of a method in the parent class. The document also discusses abstract classes and interfaces for abstraction in Java, and explains access modifiers like public, private, protected, and default.
This document discusses polymorphism in C++. Polymorphism means an operator or function can take on multiple forms. C++ supports two types of polymorphism: compile-time and runtime. Compile-time polymorphism, also called static binding, includes function overloading and operator overloading where the version to call is determined at compile time based on arguments. Runtime polymorphism, also called dynamic binding, uses virtual functions where the target object and method are not known until runtime.
This document discusses synchronization in multi-threaded programs. It covers monitors, which are used as mutually exclusive locks to synchronize access to shared resources. The synchronized keyword in Java can be used in two ways - by prefixing it to a method header, or by synchronizing an object within a synchronized statement. Examples are provided to demonstrate synchronization issues without locking, and how to resolve them by using the synchronized keyword in methods or on objects.
Virtual functions allow functions to be overridden in derived classes. The virtual keyword before a function in the base class specifies that the function can be overridden. When a virtual function is called using a base class pointer, the version from the most derived class will be executed due to late binding. This allows runtime polymorphism where the function call is resolved based on the actual object type rather than the pointer variable type.
This document provides an overview of threads in Java, including:
- Threads allow for multitasking by executing multiple processes simultaneously. They are lightweight processes that exist within a process and share system resources.
- Threads can be created by extending the Thread class or implementing the Runnable interface. The run() method defines the code executed by the thread.
- Threads transition between states like new, runnable, running, blocked, and dead during their lifecycle. Methods like start(), sleep(), join(), etc. impact the thread states.
- Synchronization is used to control access to shared resources when multiple threads access methods and data outside their run() methods. This prevents issues like inconsistent data.
A thread is an independent path of execution within a Java program. The Thread class in Java is used to create threads and control their behavior and execution. There are two main ways to create threads - by extending the Thread class or implementing the Runnable interface. The run() method contains the code for the thread's task and threads can be started using the start() method. Threads have different states like New, Runnable, Running, Waiting etc during their lifecycle.
The document discusses constructors in Java. It defines a constructor as a special method used to initialize an object's properties. It provides the rules for creating a constructor, such as the constructor must have the same name as the class and no return type. The document compares constructors and methods, and lists the properties of constructors. It also discusses the two types of constructors: the default constructor provided by the compiler if none is defined, and the parameterized constructor that takes parameters.
Learn the various forms of polymorphism in Java with illustrative examples to explain method overloading(Compile-time polymorphism) and method overriding(Run-time polymorphism)
This document discusses data types and variables in Java. It explains that there are two types of data types in Java - primitive and non-primitive. Primitive types include numeric types like int and float, and non-primitive types include classes, strings, and arrays. It also describes different types of variables in Java - local, instance, and static variables. The document provides examples of declaring variables and assigning literals. It further explains concepts like casting, immutable strings, StringBuffer/StringBuilder classes, and arrays.
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic.
This presentation is useful to study about data structure and topic is Binary Tree Traversal. This is also useful to make a presentation about Binary Tree Traversal.
The document discusses rules and algorithms for converting between postfix notation and expression trees. It provides rules for building an expression tree from postfix notation by appending nodes based on the order in the postfix list. It also provides rules for generating prefix notation by traversing the expression tree from left to right and outputting the value of each node visited. Examples are given to demonstrate converting a postfix expression to an expression tree and then to prefix notation step-by-step.
Final keyword are used in java for three purpose;
1. Final keyword is used in java to make variable constant
2. Final keyword restrict method overriding
3. It used to restrict Inheritance
http://www.tutorial4us.com/java/java-final-keyword
This keyword is a reference variable that refer the current object in java.
This keyword can be used for call current class constructor.
http://www.tutorial4us.com/java/java-this-keyword
Dynamic method dispatch allows the determination of which version of an overridden method to execute at runtime based on the object's type. Abstract classes cannot be instantiated and can contain both abstract and concrete methods. Final methods and classes prevent inheritance and overriding.
Stacks, Queues, and Deques describes different data structures and their properties. Stacks follow LIFO order with insertion and removal at the same end. Queues follow FIFO order with insertion at one end and removal at the other. Deques allow insertion and removal at both ends. These structures can be implemented using arrays or linked lists.
Presented by: N.V.RajaSekhar Reddy
www.technolamp.co.in
Want more interesting...
Watch and Like us @ https://www.facebook.com/Technolamp.co.in
subscribe videos @ http://www.youtube.com/user/nvrajasekhar
- Arrays allow storing multiple values in a single variable. They are useful for problems that require working with several variables at once, like calculating exam averages for 100 students.
- Arrays are initialized with a size and values can be stored and retrieved using indexes. Common issues include accessing indexes outside the array bounds or failing to initialize arrays properly.
- Command line arguments provide a way to pass user input to a program via the command line when it is launched. The arguments are stored in a String array that is initialized for the program.
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
Polymorphism is the ability of an object to take more than one forms. It is one of the important concept of object-oriented programming language. JAVA is object-oriented programming language which support the concept of polymorphisms.
Alternatively, it is defined as the ability of a reference variable to change behavior according to what object instance it is holding.
This document discusses polymorphism and inheritance concepts in Java. It defines polymorphism as an object taking on many forms, and describes method overloading and overriding. Method overloading allows classes to have multiple methods with the same name but different parameters. Method overriding allows subclasses to provide a specific implementation of a method in the parent class. The document also discusses abstract classes and interfaces for abstraction in Java, and explains access modifiers like public, private, protected, and default.
This document discusses polymorphism in C++. Polymorphism means an operator or function can take on multiple forms. C++ supports two types of polymorphism: compile-time and runtime. Compile-time polymorphism, also called static binding, includes function overloading and operator overloading where the version to call is determined at compile time based on arguments. Runtime polymorphism, also called dynamic binding, uses virtual functions where the target object and method are not known until runtime.
This document discusses synchronization in multi-threaded programs. It covers monitors, which are used as mutually exclusive locks to synchronize access to shared resources. The synchronized keyword in Java can be used in two ways - by prefixing it to a method header, or by synchronizing an object within a synchronized statement. Examples are provided to demonstrate synchronization issues without locking, and how to resolve them by using the synchronized keyword in methods or on objects.
Virtual functions allow functions to be overridden in derived classes. The virtual keyword before a function in the base class specifies that the function can be overridden. When a virtual function is called using a base class pointer, the version from the most derived class will be executed due to late binding. This allows runtime polymorphism where the function call is resolved based on the actual object type rather than the pointer variable type.
This document provides an overview of threads in Java, including:
- Threads allow for multitasking by executing multiple processes simultaneously. They are lightweight processes that exist within a process and share system resources.
- Threads can be created by extending the Thread class or implementing the Runnable interface. The run() method defines the code executed by the thread.
- Threads transition between states like new, runnable, running, blocked, and dead during their lifecycle. Methods like start(), sleep(), join(), etc. impact the thread states.
- Synchronization is used to control access to shared resources when multiple threads access methods and data outside their run() methods. This prevents issues like inconsistent data.
A thread is an independent path of execution within a Java program. The Thread class in Java is used to create threads and control their behavior and execution. There are two main ways to create threads - by extending the Thread class or implementing the Runnable interface. The run() method contains the code for the thread's task and threads can be started using the start() method. Threads have different states like New, Runnable, Running, Waiting etc during their lifecycle.
The document discusses constructors in Java. It defines a constructor as a special method used to initialize an object's properties. It provides the rules for creating a constructor, such as the constructor must have the same name as the class and no return type. The document compares constructors and methods, and lists the properties of constructors. It also discusses the two types of constructors: the default constructor provided by the compiler if none is defined, and the parameterized constructor that takes parameters.
Learn the various forms of polymorphism in Java with illustrative examples to explain method overloading(Compile-time polymorphism) and method overriding(Run-time polymorphism)
This document discusses data types and variables in Java. It explains that there are two types of data types in Java - primitive and non-primitive. Primitive types include numeric types like int and float, and non-primitive types include classes, strings, and arrays. It also describes different types of variables in Java - local, instance, and static variables. The document provides examples of declaring variables and assigning literals. It further explains concepts like casting, immutable strings, StringBuffer/StringBuilder classes, and arrays.
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic.
This presentation is useful to study about data structure and topic is Binary Tree Traversal. This is also useful to make a presentation about Binary Tree Traversal.
The document discusses rules and algorithms for converting between postfix notation and expression trees. It provides rules for building an expression tree from postfix notation by appending nodes based on the order in the postfix list. It also provides rules for generating prefix notation by traversing the expression tree from left to right and outputting the value of each node visited. Examples are given to demonstrate converting a postfix expression to an expression tree and then to prefix notation step-by-step.
Final keyword are used in java for three purpose;
1. Final keyword is used in java to make variable constant
2. Final keyword restrict method overriding
3. It used to restrict Inheritance
http://www.tutorial4us.com/java/java-final-keyword
This keyword is a reference variable that refer the current object in java.
This keyword can be used for call current class constructor.
http://www.tutorial4us.com/java/java-this-keyword
Dynamic method dispatch allows the determination of which version of an overridden method to execute at runtime based on the object's type. Abstract classes cannot be instantiated and can contain both abstract and concrete methods. Final methods and classes prevent inheritance and overriding.
Stacks, Queues, and Deques describes different data structures and their properties. Stacks follow LIFO order with insertion and removal at the same end. Queues follow FIFO order with insertion at one end and removal at the other. Deques allow insertion and removal at both ends. These structures can be implemented using arrays or linked lists.
Presented by: N.V.RajaSekhar Reddy
www.technolamp.co.in
Want more interesting...
Watch and Like us @ https://www.facebook.com/Technolamp.co.in
subscribe videos @ http://www.youtube.com/user/nvrajasekhar
This document provides an overview of Java fundamentals including classes, objects, encapsulation, abstraction, inheritance, polymorphism and other core OOP concepts. Key points covered include:
- Classes contain variable declarations and method definitions while objects have state, behavior and identity.
- Encapsulation is achieved by declaring class variables as private and providing public get and set methods.
- Abstraction hides certain details and shows only essential information to the user using abstract classes and interfaces.
- Inheritance allows classes to extend functionality from other classes in a hierarchical manner to achieve code reuse.
- Polymorphism allows a single action to be performed in different ways depending on the object used.
- Inheritance allows one class to acquire properties and behaviors of another class. A subclass inherits from a superclass.
- Polymorphism allows one action to be performed in different ways. In Java it occurs through method overloading and overriding.
- Method overloading involves multiple methods with the same name but different parameters. Overriding involves a subclass method with same signature as the superclass method. Overriding enables polymorphism at runtime while overloading involves compile-time polymorphism.
This presentation is ideal for a beginner of Java or someone who wants to brush up their Java Knowledge. It's simple to understand and well organized in a way most of the area in core Java has been covered.
The document provides an overview of advanced class features in Java, including method overloading, overriding, and constructors. It discusses the differences between overloaded and overridden methods, and how to call parent class methods using super. It also covers enumerations, wrapper classes, autoboxing/unboxing, annotations, and inner classes.
This document provides an overview of the Java programming language. It discusses the history and origins of Java, defines what Java is, and lists some of its common uses. It then provides reasons for using Java, including that it works on multiple platforms, is one of the most popular languages, is easy to learn, is open-source, and has a large community. The document also introduces key Java concepts like syntax, variables, data types, classes and objects, inheritance, and packages.
Introduction to oop and java fundamentalsAnsgarMary
This document provides an introduction to object-oriented programming concepts in Java, including classes, objects, inheritance, polymorphism, abstraction, and encapsulation. It then discusses the Java programming environment, fundamental programming structures in Java like data types, variables, operators, control flow statements, and arrays. Key characteristics of the Java language are also summarized.
This document provides an introduction to the Java programming language. It discusses Java's platform and environment including the JVM, JRE, and JDK. It also covers Java programming basics like data types, operators, control flow, classes and objects, methods, constructors and inheritance. The document explains key Java concepts like abstraction, encapsulation, polymorphism and interfaces. It also discusses arrays, access modifiers and the 'super' keyword in Java.
This document provides an overview of inheritance and interfaces in Java programming. It discusses key concepts like subclasses and superclasses, method overriding, abstract classes, polymorphism, and interfaces. It also covers the List interface, lambda expressions, and differences between abstract classes and interfaces. The document is the syllabus for a CAP615 Programming in Java course focusing on inheritance and interfaces.
This document discusses several core Java concepts including comments, classes, objects, scopes, static methods and fields, arrays, and constructors. It provides examples of Java code for classes, methods, and constructors. Key points covered include: javadoc comments generate API documentation; classes describe data and operations on objects; scopes are determined by curly braces; static methods and fields belong to the class not instances; arrays are objects that can be dynamically allocated; and constructors create class instances and invoke superclass constructors.
This document provides an overview of test automation using Selenium. It discusses reasons to automate testing such as supporting regression testing and finding defects missed by manual testing. It also discusses when not to automate, such as when an application's behavior is unstable. The document then covers the Selenium framework, its components like Selenium IDE and WebDriver, and languages it supports like Java. It also discusses concepts in object-oriented programming relevant to test automation like classes, objects, inheritance and more.
The document discusses the super keyword, final keyword, and interfaces in Java.
- The super keyword is used to refer to the immediate parent class and can be used with variables, methods, and constructors. It allows accessing members of the parent class from the child class.
- The final keyword can be used with variables, methods, and classes. It makes variables constant and prevents overriding of methods and inheritance of classes.
- Interfaces in Java allow achieving abstraction and multiple inheritance. They can contain only abstract methods and variables declared with default access modifiers. Classes implement interfaces to provide method definitions.
This document discusses programming concepts in Java including arrays, inheritance, polymorphism, abstract classes, and interfaces. It provides examples and explanations of key concepts. The examples demonstrate declaring and using arrays, inheritance with the extends keyword, differentiating superclass and subclass members with the super keyword, abstract classes and methods, and implementing interfaces in classes. The document is intended to teach core object-oriented programming concepts in Java.
Friend functions allow non-member functions to access private and protected members of a class. Inline functions avoid function call overhead by copying the code into the calling function. The this pointer is an implicit parameter that provides access to the object from within member functions. Static members exist only once per class rather than for each object. Inheritance allows classes to inherit attributes and behaviors from other classes in a hierarchy. Polymorphism allows functions to take different implementations based on the runtime type of an object. Encapsulation binds data and functions that operate on that data together within a class to hide implementation details.
This document provides an overview of core Java concepts including comments, classes, objects, scoping, static methods and fields, arrays, and constructors. It discusses how comments in Java are similar to C++, the fundamentals of classes and objects, variable scoping determined by curly braces, how static methods and fields belong to the class rather than instances, and how arrays are objects allocated dynamically. It also covers how constructors are used to create class instances and automatically invoke superclass constructors.
Direct Evidence for r-process Nucleosynthesis in Delayed MeV Emission from th...Sérgio Sacani
The origin of heavy elements synthesized through the rapid neutron capture process (r-process) has been an enduring mystery for over half a century. J. Cehula et al. recently showed that magnetar giant flares, among the brightest transients ever observed, can shock heat and eject neutron star crustal material at high velocity, achieving the requisite conditions for an r-process.A. Patel et al. confirmed an r-process in these ejecta using detailed nucleosynthesis calculations. Radioactive decay of the freshly synthesized nuclei releases a forest of gamma-ray lines, Doppler broadened by the high ejecta velocities v 0.1c into a quasi-continuous spectrum peaking around 1 MeV. Here, we show that the predicted emission properties (light curve, fluence, and spectrum) match a previously unexplained hard gamma-ray signal seen in the aftermath of the famous 2004 December giant flare from the magnetar SGR 1806–20. This MeV emission component, rising to peak around 10 minutes after the initial spike before decaying away over the next few hours, is direct observational evidence for the synthesis of ∼10−6 Me of r-process elements. The discovery of magnetar giant flares as confirmed r-process sites, contributing at least ∼1%–10% of the total Galactic abundances, has implications for the Galactic chemical evolution, especially at the earliest epochs probed by low-metallicity stars. It also implicates magnetars as potentially dominant sources of heavy cosmic rays. Characterization of the r-process emission from giant flares by resolving decay line features offers a compelling science case for NASA’s forthcomingCOSI nuclear spectrometer, as well as next-generation MeV telescope missions.
Environmental Sciences is the scientific study of the environmental system and
the status of its inherent or induced changes on organisms. It includes not only the study
of physical and biological characters of the environment but also the social and cultural
factors and the impact of man on environment.
Poultry require at least 38 dietary nutrients inappropriate concentrations for a balanced diet. A nutritional deficiency may be due to a nutrient being omitted from the diet, adverse interaction between nutrients in otherwise apparently well-fortified diets, or the overriding effect of specific anti-nutritional factors.
Major components of foods are – Protein, Fats, Carbohydrates, Minerals, Vitamins
Vitamins are A- Fat soluble vitamins: A, D, E, and K ; B - Water soluble vitamins: Thiamin (B1), Riboflavin (B2), Nicotinic acid (niacin), Pantothenic acid (B5), Biotin, folic acid, pyriodxin and cholin.
Causes: Low levels of vitamin A in the feed. oxidation of vitamin A in the feed, errors in mixing and inter current disease, e.g. coccidiosis , worm infestation
Clinical signs: Lacrimation (ocular discharge), White cheesy exudates under the eyelids (conjunctivitis). Sticky of eyelids and (xerophthalmia). Keratoconjunctivitis.
Watery discharge from the nostrils. Sinusitis. Gasping and sneezing. Lack of yellow pigments,
Respiratory sings due to affection of epithelium of the respiratory tract.
Lesions:
Pseudo diphtheritic membrane in digestive and respiratory system (Keratinized epithelia).
Nutritional roup: respiratory sings due to affection of epithelium of the respiratory tract.
Pustule like nodules in the upper digestive tract (buccal cavity, pharynx, esophagus).
The urate deposits may be found on other visceral organs
Treatment:
Administer 3-5 times the recommended levels of vitamin A @ 10000 IU/ KG ration either through water or feed.
Lesions:
Pseudo diphtheritic membrane in digestive and respiratory system (Keratinized epithelia).
Nutritional roup: respiratory sings due to affection of epithelium of the respiratory tract.
Pustule like nodules in the upper digestive tract (buccal cavity, pharynx, esophagus).
The urate deposits may be found on other visceral organs
Treatment:
Administer 3-5 times the recommended levels of vitamin A @ 10000 IU/ KG ration either through water or feed.
Lesions:
Pseudo diphtheritic membrane in digestive and respiratory system (Keratinized epithelia).
Nutritional roup: respiratory sings due to affection of epithelium of the respiratory tract.
Pustule like nodules in the upper digestive tract (buccal cavity, pharynx, esophagus).
The urate deposits may be found on other visceral organs
Treatment:
Administer 3-5 times the recommended levels of vitamin A @ 10000 IU/ KG ration either through water or feed.
Structure formation with primordial black holes: collisional dynamics, binari...Sérgio Sacani
Primordial black holes (PBHs) could compose the dark matter content of the Universe. We present the first simulations of cosmological structure formation with PBH dark matter that consistently include collisional few-body effects, post-Newtonian orbit corrections, orbital decay due to gravitational wave emission, and black-hole mergers. We carefully construct initial conditions by considering the evolution during radiation domination as well as early-forming binary systems. We identify numerous dynamical effects due to the collisional nature of PBH dark matter, including evolution of the internal structures of PBH halos and the formation of a hot component of PBHs. We also study the properties of the emergent population of PBH binary systems, distinguishing those that form at primordial times from those that form during the nonlinear structure formation process. These results will be crucial to sharpen constraints on the PBH scenario derived from observational constraints on the gravitational wave background. Even under conservative assumptions, the gravitational radiation emitted over the course of the simulation appears to exceed current limits from ground-based experiments, but this depends on the evolution of the gravitational wave spectrum and PBH merger rate toward lower redshifts.
2025 Insilicogen Company Korean BrochureInsilico Gen
Insilicogen is a company, specializes in Bioinformatics. Our company provides a platform to share and communicate various biological data analysis effectively.
DNA Profiling and STR Typing in Forensics: From Molecular Techniques to Real-...home
This comprehensive assignment explores the pivotal role of DNA profiling and Short Tandem Repeat (STR) analysis in forensic science and genetic studies. The document begins by laying the molecular foundations of DNA, discussing its double helix structure, the significance of genetic variation, and how forensic science exploits these variations for human identification.
The historical journey of DNA fingerprinting is thoroughly examined, highlighting the revolutionary contributions of Dr. Alec Jeffreys, who first introduced the concept of using repetitive DNA regions for identification. Real-world forensic breakthroughs, such as the Colin Pitchfork case, illustrate the life-saving potential of this technology.
A detailed breakdown of traditional and modern DNA typing methods follows, including RFLP, VNTRs, AFLP, and especially PCR-based STR analysis, now considered the gold standard in forensic labs worldwide. The principles behind STR marker types, CODIS loci, Y-chromosome STRs, and the capillary electrophoresis (CZE) method are thoroughly explained. The steps of DNA profiling—from sample collection and amplification to allele detection using electropherograms (EPGs)—are presented in a clear and systematic manner.
Beyond crime-solving, the document explores the diverse applications of STR typing:
Monitoring cell line authenticity
Detecting genetic chimerism
Tracking bone marrow transplant engraftment
Studying population genetics
Investigating evolutionary history
Identifying lost individuals in mass disasters
Ethical considerations and potential misuse of DNA data are acknowledged, emphasizing the need for careful policy and regulation.
Whether you're a biotechnology student, a forensic professional, or a researcher, this document offers an in-depth look at how DNA and STRs transform science, law, and society.
The human eye is a complex organ responsible for vision, composed of various structures working together to capture and process light into images. The key components include the sclera, cornea, iris, pupil, lens, retina, optic nerve, and various fluids like aqueous and vitreous humor. The eye is divided into three main layers: the fibrous layer (sclera and cornea), the vascular layer (uvea, including the choroid, ciliary body, and iris), and the neural layer (retina).
Here's a more detailed look at the eye's anatomy:
1. Outer Layer (Fibrous Layer):
Sclera:
The tough, white outer layer that provides shape and protection to the eye.
Cornea:
The transparent, clear front part of the eye that helps focus light entering the eye.
2. Middle Layer (Vascular Layer/Uvea):
Choroid:
A layer of blood vessels located between the retina and the sclera, providing oxygen and nourishment to the outer retina.
Ciliary Body:
A ring of tissue behind the iris that produces aqueous humor and controls the shape of the lens for focusing.
Iris:
The colored part of the eye that controls the size of the pupil, regulating the amount of light entering the eye.
Pupil:
The black opening in the center of the iris that allows light to enter the eye.
3. Inner Layer (Neural Layer):
Retina:
The light-sensitive layer at the back of the eye that converts light into electrical signals that are sent to the brain via the optic nerve.
Optic Nerve:
A bundle of nerve fibers that carries visual signals from the retina to the brain.
4. Other Important Structures:
Lens:
A transparent, flexible structure behind the iris that focuses light onto the retina.
Aqueous Humor:
A clear, watery fluid that fills the space between the cornea and the lens, providing nourishment and maintaining eye shape.
Vitreous Humor:
A clear, gel-like substance that fills the space between the lens and the retina, helping maintain eye shape.
Macula:
A small area in the center of the retina responsible for sharp, central vision.
Fovea:
The central part of the macula with the highest concentration of cone cells, providing the sharpest vision.
These structures work together to allow us to see, with the light entering the eye being focused by the cornea and lens onto the retina, where it is converted into electrical signals that are transmitted to the brain for interpretation.
he eye sits in a protective bony socket called the orbit. Six extraocular muscles in the orbit are attached to the eye. These muscles move the eye up and down, side to side, and rotate the eye.
The extraocular muscles are attached to the white part of the eye called the sclera. This is a strong layer of tissue that covers nearly the entire surface of the eyeball.he layers of the tear film keep the front of the eye lubricated.
Tears lubricate the eye and are made up of three layers. These three layers together are called the tear film. The mucous layer is made by the conjunctiva. The watery part of the tears is made by the lacrimal gland
1. A CASE STUDY ON “JAVA”
By – Ayush Gupta
Himanshu Tripathi
Neeraj Kr Sahu
Sub Topics:–
• Polymorphism
• Encapsulation
• Primitive types in Java
• Casting in Java
• Types of error in Java
2. POLYMORPHISM IN JAVA
• Polymorphism in Java is a concept by which we can perform a single action in different
ways. Polymorphism is derived from 2 Greek words: ‘poly’ and ‘morphs’.
• The word "poly" means many and "morphs" means forms. So polymorphism means
“many forms”.
• There are two types of polymorphism in Java: Compile-time polymorphism and
Runtime polymorphism.
• We can perform polymorphism in java by ‘method overloading’ and ‘method
overriding’.
• If you overload a static method in Java, it is the example of compile time
polymorphism.
• Here, we will focus on runtime polymorphism in java.
3. RUNTIME POLYMORPHISM IN JAVA
• Runtime polymorphism or Dynamic Method Dispatch is a process in
which a call to an overridden method is resolved at runtime rather than
compile-time.
• In this process, an overridden method is called through the reference
variable of a super class. The determination of the method to be called
is based on the object being referred to by the reference variable.
4. EXAMPLE OF JAVA RUNTIME POLYMORPHISM
• In this example, we are creating two classes Bike and Splendor.
• Splendor class extends Bike class and overrides its run ( ) method. We
are calling the run method by the reference variable of Parent class.
• Since it refers to the subclass object and subclass method overrides the
Parent class method, the subclass method is invoked at runtime.
5. EXAMPLE OF JAVA RUNTIME POLYMORPHISM
CONT.
class Bike
{
void run(){System.out.println("running");
}
}
class Splendor extends Bike
{
void run()
{
System.out.println("running safely with 60km");
}
public static void main(String args[])
{
Bike b = new Splendor();//upcasting
b.run();
}
}
Output:
running safely with 60km.
6. METHOD OVERRIDING
•If subclass (child class) has the same method as declared in the parent class, it is
known as method overriding in Java.
•In other words, If a subclass provides the specific implementation of the method
that has been declared by one of its parent class, it is known as method
overriding.
•Usage of Java Method Overriding
•Method overriding is used to provide the specific implementation of a method
which is already provided by its superclass.
•Method overriding is used for runtime polymorphism.
7. METHOD OVERRIDING
Class Super
{
int x=10;
void disp()
{
system.out.println(“Super class” + x);
}
}
Class Test
{
Public static void main(String ar[] )
{
Sub.obj= new Sub();
Obj.disp();
}
}
Class Sub extends Super
{
int y=20;
void disp()
{
System.out.println(“Super”+x);
System.out.println(“Sub”+y);
}
}
OUTPUT:-
Super 10
Sub 20
8. METHOD OVERLOADING
• If a class has multiple methods having same name but different in parameters, it is known as
Method Overloading.
• If we have to perform only one operation, having same name of the methods increases the
readability of the program.
• Suppose you have to perform addition of the given numbers but there can be any number of
arguments, if you write the method such as a(int , int) for two parameters, and b(int , int , int)
for three parameters then it may be difficult for you as well as other programmers to
understand the behavior of the method because its name differs.
• Method overloading increases the readability of the program.
9. class DisplayOverloading
{
public void disp(char c)
{
System.out.println(c);
}
public void disp(char c, int num)
{
System.out.println(c + " "+num);
}
}
class Sample
{
public static void main(String args[])
{
DisplayOverloading obj = new
DisplayOverloading();
obj disp('a');
obj disp('a',10);
}
}
Output:
a
a 10
10. ENCAPSULATION
• Encapsulation in Java is a process of wrapping code and data together
into a single unit, for example, a capsule which is mixed of several
medicines.
• We can create a fully encapsulated class in Java by making all the data
members of the class private. Now we can use setter and getter
methods to set and get the data in it. The Java Bean class is the
example of a fully encapsulated class.
11. ADVANTAGE OF ENCAPSULATION
These are benefits of Java Encapsulation:
Data Hiding – It can provide the programmer to hide the inner classes and the user
to give access only to the desired codes. It allows the programmer to not allow the
user to know how variables and data store.
Flexibility – With this, we can make the data as read-only or write-only as we
require it to be.
Reusability – It allows the user to a programmer to use the program again and
again.
Testing of the code – Ease of testing becomes easy.
12. PRIMITIVE TYPES
• int 4 bytes
• short 2 bytes
• long 8 bytes
• byte 1 byte
• float 4 bytes
• double 8 bytes
• char Unicode encoding (2 bytes)
• boolean {true,false}
Behaviors is
exactly as in
C++
13. JAVA PRIMITIVE DATA TYPES
Data Type Characteristics Range
byte 8 bit signed integer -128 to 127
short 16 bit signed integer -32768 to 32767
int 32 bit signed integer -2,147,483,648 to 2,147,483,647
long 64 bit signed integer -9,223,372,036,854,775,808 to- 9,223,372,036,854,775,807
float 32 bit floating point number + 1.4E-45 to
+ 3.4028235E+38
double 64 bit floating point number + 4.9E-324 to
+ 1.7976931348623157E+308
boolean true or false NA, note Java booleans cannot be converted to or from other
types
char 16 bit, Unicode Unicode character, u0000 to uFFFF Can mix with integer
types
15. CASTING
• Casting is the temporary conversion of a variable from its original
data type to some other data type.
• With primitive data types if a cast is necessary from a less inclusive
data type to a more inclusive data type it is done automatically.
int x = 5;
double a = 3.5;
double b = a * x + a / x;
double c = x / 2;
• if a cast is necessary from a more inclusive to a less inclusive data
type the class must be done explicitly by the programmer
failure to do so results in a compile error.
double a = 3.5, b = 2.7;
int y = (int) a / (int) b;
y = (int)( a / b );
y = (int) a / b; //syntax error
16. PRIMITIVE CASTING
double
float
long
int
short,
char
byte
Outer ring is most inclusive
data type.
Inner ring is least inclusive.
In expressions variables and
sub expressions of less
inclusive data types are
automatically cast to more
inclusive.
If trying to place expression
that is more inclusive into
variable that is less inclusive,
explicit cast must be
performed.
From MORE to LESS
17. SYNTAX ERRORS, RUNTIME ERRORS, AND LOGIC ERRORS
You learned that there are three categories of errors: syntax errors,
runtime errors, and logic errors.
• Syntax errors arise because the rules of the language have not
been followed. They are detected by the compiler.
• Runtime errors occur while the program is running if the
environment detects an operation that is impossible to carry out.
• Logic errors occur when a program doesn't perform the way it
was intended to.
19. A CASE STUDY ON “JAVA”
By – Ayush Gupta
Himanshu Tripathi
Neeraj Kr Sahu
Next Topic – Exception Handling