In the third tutorial I explain the difference between the equals operator and the equals() method. Then I further delve into documentation, JUnit testing, array manipulations and more on objects. Lastly I investigate the class methods versus the instance methods, static versus non-static and immutable objects.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial I talk about the fundamental inheritance concept, I explain and compare abstract classes with interfaces, and touch a little bit to the concept of Graphical User Interfaces in Java. Also I provide an example game project called Puzzler for you to practice on.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In the fifth tutorial, I mention generics, interface instances, stacks and I review the Inheritance concept.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial, we have finally come to one of the most famous frameworks of Java: Collections Framework. We will take a look at the Lists, Sets, Queues and their types through examples.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial, I take you through an important feature of Java: File Operations. We are going to take a look at Character and Byte Streams, some built-in Classes and their functionalities to be able to perform file operations. Then we are going to learn about a famous concept called exception handling. We are going to finalize this tutorial with Number Formatting.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this second tutorial, I walk you through the two different data types in Java: Primitive and Reference. Then, I mention type casting and explain implicit and explicit type casting. Lastly, I explain the Object concept and finish with an Object Oriented Programming example and a quiz question.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
Introduction to Java, its syntax and environment setup
The first tutorial is going to be an introduction to Java and its syntax. The tutorial starts with basic examples such as printing out a String and ends with some quiz questions for you to practice what you have learned. Also I provided the download links for the Integrated Development Environments for Java Programming. The rest of the tutorials will follow the same content-quiz pattern so get ready for some hands on experience!
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial I talk about the fundamental inheritance concept, I explain and compare abstract classes with interfaces, and touch a little bit to the concept of Graphical User Interfaces in Java. Also I provide an example game project called Puzzler for you to practice on.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In the fifth tutorial, I mention generics, interface instances, stacks and I review the Inheritance concept.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial, we have finally come to one of the most famous frameworks of Java: Collections Framework. We will take a look at the Lists, Sets, Queues and their types through examples.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial, I take you through an important feature of Java: File Operations. We are going to take a look at Character and Byte Streams, some built-in Classes and their functionalities to be able to perform file operations. Then we are going to learn about a famous concept called exception handling. We are going to finalize this tutorial with Number Formatting.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this second tutorial, I walk you through the two different data types in Java: Primitive and Reference. Then, I mention type casting and explain implicit and explicit type casting. Lastly, I explain the Object concept and finish with an Object Oriented Programming example and a quiz question.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
Introduction to Java, its syntax and environment setup
The first tutorial is going to be an introduction to Java and its syntax. The tutorial starts with basic examples such as printing out a String and ends with some quiz questions for you to practice what you have learned. Also I provided the download links for the Integrated Development Environments for Java Programming. The rest of the tutorials will follow the same content-quiz pattern so get ready for some hands on experience!
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
The talk covers foundations and applications of implicit function types. It is an updated and more condensed version of the "What to Leave Implicit Talk" given at CurryOn/PLDI 2017.
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Adobe Flash Actionscript language basics chapter-2Nafis Ahmed
In this chapter, I have discussed about the language basics that creates the foundation of Adobe Actionscript 3. From variables, data types, comments, loops to conditionals, much of the basics are covered about flash actionscript in this chapter. In the next chapter, chapter-3, I will be discussing about creating classes and making objects out of it. So tighten your seat bealts buddies!
Visit my youtube channel Nafis's Classroom to watch the entire lesson:
https://www.youtube.com/channel/UCD1a7Kgz4m8tp-U6T8dLyMg
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Object Oriented Programming_Lecture 3
Let’s think on fields of class
Visibility Modifiers and Accessor Methods
الكلية الجامعية للعلوم والتكنولوجيا - خان يونس
University college of science & technology
The talk covers foundations and applications of implicit function types. It is an updated and more condensed version of the "What to Leave Implicit Talk" given at CurryOn/PLDI 2017.
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Adobe Flash Actionscript language basics chapter-2Nafis Ahmed
In this chapter, I have discussed about the language basics that creates the foundation of Adobe Actionscript 3. From variables, data types, comments, loops to conditionals, much of the basics are covered about flash actionscript in this chapter. In the next chapter, chapter-3, I will be discussing about creating classes and making objects out of it. So tighten your seat bealts buddies!
Visit my youtube channel Nafis's Classroom to watch the entire lesson:
https://www.youtube.com/channel/UCD1a7Kgz4m8tp-U6T8dLyMg
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Object Oriented Programming_Lecture 3
Let’s think on fields of class
Visibility Modifiers and Accessor Methods
الكلية الجامعية للعلوم والتكنولوجيا - خان يونس
University college of science & technology
This ppt describes basics of scala upto collections covering both object oriented and functional programming concepts of the language.
References:Scala cookbook
In this project, an automated
algorithm for detecting EMG noise in
large ECG data is presented. The
algorithm extracts EMG artifact from the
ECG by using morphological operations.
In this tutorial, I cover recursion and Binary Trees. I also give some exercises on these topics.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
In this tutorial, we discuss the Iterators that enables to cycle through the elements of a collection. Then we check out the nested classes and complete the tutorial with Maps and some exercises.
Check out rest of the Tutorials: https://berksoysal.blogspot.com/2016/06/java-se-tutorials-basics-exercises.html
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Quarkus Hidden and Forbidden ExtensionsMax Andersen
Quarkus has a vast extension ecosystem and is known for its subsonic and subatomic feature set. Some of these features are not as well known, and some extensions are less talked about, but that does not make them less interesting - quite the opposite.
Come join this talk to see some tips and tricks for using Quarkus and some of the lesser known features, extensions and development techniques.
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Modern design is crucial in today's digital environment, and this is especially true for SharePoint intranets. The design of these digital hubs is critical to user engagement and productivity enhancement. They are the cornerstone of internal collaboration and interaction within enterprises.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
Tim Combridge from Sensible Giraffe and Salesforce Ben presents some important tips that all developers should know when dealing with Flows in Salesforce.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
2. 2016 Winter
• The operator ”==” is used to compare two objects
regarding their references.
• This means, the operator checks whether
or not these two objects refer to the same place in
memory.
• For example;
String s1 = new String("xyz");
String s2 = new String("xyz");
if(s1 == s2)
System.out.println(“s1==s2 is TRUE");
else
System.out.println(“s1==s2 is FALSE");
Folder Lab3 Lab3 Examples Equality.java
3. • Note 1: Every time we create a new object, the
object gets its own unique address in the memory.
• Note 2: This type of comparison is called reference
comparison.
2016 Winter
4. • The intent of the equals method is to compare whether two
objects are semantically the same, if they have the same
content.
• For classes from the Java library (Wrappers, Strings etc.), this
is indeed what will happen.
• For your own class however, you have to provide your own
implementation of equals.
For example;
String s1 = new String("xyz");
String s2 = new String("xyz");
if(s1.equals(s2))
System.out.println(“s1 equals s2 is TRUE");
else
System.out.println(“s1 equals s2 is FALSE");
2016 Winter Folder Lab3 Lab3 Examples Equality.java
5. • Another important aspect of software development
is the documentation.
• JavaDoc is a format for your Java comments, and a
set of tools for producing Web pages automatically.
• In this lab, we are asking you to document your
code (variables, methods, etc.) using JavaDoc.
2016 Winter
7. • Let’s complete the implementation of the (static)
class method String[] findAndReplace(String[] in,
String[] what, String[] with) of the class Utils.
• The method returns a copy of the array in where
each word occurring in the array what has been
replaced by the word occurring at the
corresponding position in the array with.
• The array designated by in must remain
unchanged.
2016 Winter
8. • JUnit is a simple framework to write repeatable tests. It is an
instance of the xUnit architecture for unit testing
frameworks.
• A set of test cases is written
to test a method’s operation.
• We use various methods of the
Assert Class to test our
findAndReplace() method.
• Only the failed assertions are recorded.
2016 Winter
9. • Let us implement a class to represent rational
numbers..
• Each rational number consists of a numerator
and a denominator, both of type int. Since each
rational number has its own numerator and
denominator, these must be instance variables.
Solutions-> Rational and TestRational
2016 Winter
10. • The public setXYZ () and getXYZ() methods are the
access points of the instance variables of a class.
• Normally, these methods are referred as getters
and setters.
• Therefore any class that wants to access the
variables should access them through these getters
and setters.
• An object that has no setter methods, and no other
methods for transforming the state of the object, is
said to be immutable.
2016 Winter
11. • An object is considered immutable if its state
cannot change after it is constructed. Maximum
reliance on immutable objects is widely accepted as
a sound strategy for creating simple, reliable code.
• Since they cannot change state, they cannot be
corrupted by thread interference or observed in an
inconsistent state.
2016 Winter
12. • Sometimes, you want to have variables that are
common to all objects. This is accomplished with
the static modifier. Fields that have the static
modifier in their declaration are called class
methods.
• When a number of objects are created from the
same class blueprint, they each have their own
distinct copies of instance methods.
2016 Winter
13. You can do this to execute a static method:
MyClass.staticMethod();
//Simply refers to the class's static code
But to execute a non-static method, you must do this:
//Create an instance
MyClass obj = new MyClass();
//Refer to the instance's class's code
obj.nonstaticMethod();
2016 Winter
14. Documentation Exercise !
Add JavaDoc comments for the class Rational.
1. Add JavaDoc comments for all the methods. Each
comment should include a brief description of what the
method does and descriptions of the parameters and the
return value using JavaDoc format.
2. Add a brief description of the class Rational, using the
JavaDoc syntax, make sure to include
the name of the author of the class (you).
2016 Winter