Java Concepts Sprint 2

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/54

flashcard set

Earn XP

Description and Tags

Testing, SOLID, Design Patterns, Threads, Comparators, Generics, Collections

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

55 Terms

1
New cards

Exception

event that disrupts the normal flow of instructions during the execution of a program

can be handled and the program can continue

2
New cards

Error

A serious problem that shouldn’t be caught. The program can’t recover from it so it must terminate.

3
New cards

Checked Exception

Exceptions that appear at compile time and are handled with a try-catch block or throwing an exception.

4
New cards

Unchecked Exception

Exception that occurs at runtime and aren’t checked by the compiler. Indicated by poor quality coding.

5
New cards

finally block

optionally added after the try-catch blocks. used to clean up resources like closing files or readers

6
New cards

Unit Testing

smallest piece of testable code. Simple, independent, focused

7
New cards

Test Driven Development

Agile. Write tests first 1. Arrange 2. Act 3. Assert.
Let it compile. Let it fail. Make it Pass. Refactor

8
New cards

How do you test void methods?

Use verify() from Mockito or just call it in a method to ensure it at least runs

9
New cards

Mockito

Create a mock object that doesn’t need to know any implementation details - has no methods or properties. For testing interactions with classes and not the logic.

10
New cards

Stubbing

Adding limited behavior to methods of mock objects. Allows you to return a specific value from a method.

11
New cards

Verification

for testing methods that return void. you can check how many times that method is called

12
New cards

Collection

groupings of logically related items. has access to methods

13
New cards

Collection Interfaces

List, Set, Map, Queue

14
New cards

Collection classes

ArrayList, Vector, HashSet, TreeSet, HashMap, TreeMap

15
New cards

Ordered Collections

Usually can be accessed by index: Lists, queues

maintains order of items added

16
New cards

Unordered Collections

Can’t be accessed by index: HashSet, HashMap, HashTable

17
New cards

Queue

First In First Out. Items are removed from the front of the queue and adding items put them on the back. Peek() returns object at front of queue and poll() removes the object at front of queue and returns it.

18
New cards

Set

Scattered Elements. doesn’t allow for duplicate values(will overwrite the existing one). only has methods that collections contains

19
New cards

Map

Stores data in key value pairs. duplicate keys not allowed (original gets overwritten) but duplicate values are. doesn’t extend the collection class.

20
New cards

Generics

specifies types for collections, classes and methods which will let you catch type related errors at compile time instead of runtime

Reusable, type safe

Placeholder T or ? for a wildcard

Can represent and object that is a child or parent of a class with extends or super keyword <T extends Class> < T super class>

21
New cards

Sorting collections

java chooses appropriate algorithm given the collection unless it has its own implementation (treeset, priorityqueue, treemap)

22
New cards

Comparable Interface

defines a default sort order for a custom class that you create in the class (Collections.sort() can then be used to call it)

23
New cards

compareTo(secondValue)

returns an int, positive means first value is larger, negative means second value is larger, and 0 means they are equal

24
New cards

Comparator Interface

defines custom sorts on any attribute of a class when you need multiple sorting orders. created outside of the object so compareTo method is left alone.
Unsorted Collections:
Collections.sort(listToBeSorted, new SpecificComparator())

Sorted Collections:
new TreeSet<Trainee>(new TraineeAgeComparator)
use if/else statements in compare method to prevent data loss if directly comparing doubles

25
New cards

Logging

provides a trace to figure out circumstances that cause issues at runtime

26
New cards

Log Levels

Trace
Debug
Info
Warn
Error
Fatal

27
New cards

Loggers

named objects that log/record events according to levels. root logger is always at the top of hierarchy.

thread safe, timestamped
configure what levels of messages you want to see

Will log to the appenders and any logger above it in the hierarchy

do not type check

28
New cards

Appenders

indicate output destination of log messages. a logger can have multiple appenders

29
New cards

SonarLint

code analysis for compliance with given standards. cheapest way compared to sonarqube. helps you find bugs, vulnerabilities, and code smell

30
New cards

SonarQube

dynamic code analysis more effective than sonarlint. more expensive in terms of resources but less likely to give false positives. can create your own rules too

31
New cards

Single Responsibility

a class should only do one thing, and therefore only have one reason to change. closely related tasks. a change in one method should not affect responsibilities in others

encapsulation, cohesion

32
New cards

Open Closed

classes should be open for extension but closed for modification. shouldn’t have extra code that a class inheriting it doesn’t need. extend the class then add new methods

polymorphism, abstraction

33
New cards

Liskov Substitution

subclasses should be substitutable for their base classes fulfills expected behaviors from the super class

inheritance, polymorphism,

34
New cards

Interface Segregation

interfaces should be small and deal with one aspect of a problem. only allowing relevant behavior to be seen, shouldn’t be implementing methods we don’t need

cohesion, inheritance, abstraction

35
New cards

Dependency Inversion

classes should depend upon abstract concepts rather than concrete implementations. depend on high level modules (parent class) and not on the details (child class)

abstraction

36
New cards

3 types of design patterns

  1. Creational: making objects

  2. Structural: assemble objects into larger structures

  3. Behavioral: how objects interact with each other

37
New cards

Singleton

only one instance of an object can be created in a program. private constructor, private static instance variable of its own type, public static getinstance method

creational

38
New cards

Factory Method

class with a sole responsibility to create single objects from a hierarchy of classes. each factory has its own logic to create the object. uses an interface that subclasses can implement to create more specific types of objects

creational

39
New cards

abstract factory method

creates families of related objects without specifying the concrete classes. abstract methods for creating each product. concrete factories will implement this to create the specific objects

creational

40
New cards

Adapter

allows 2 incompatible interfaces to work together. acts as a middleman to bridge the gap between them. when you shouldn’t be modifying either class and need a new one altogether

structural

41
New cards

Command

object encapsulating a method call used when actions need to be stored and performed at a later time. client, command object, invoker, receiver

behavioral

42
New cards

Object Pool

allows reuse of objects without creating a new one each time to save resources for expensive ones. object pool, reusable object, client

43
New cards

Thread

sequence of instructions that exist within a process. shares resources and memory with other threads

44
New cards

Thread states

New: first created

Runnable: start method called on it and enters queue

Running: thread is doing work - can enter waiting or sleep and return to the queue from this point

Terminated: thread completed

45
New cards

Join()

the thread currently being exeuted must stop and wait for this thread to be done before continuing (usually means the main thread is waiting)

46
New cards

Multithreading

single program has multiple threads so methods don’t need to wait for each other to finish before running. multiple cores in CPUs to run their own threads

47
New cards

Process

space/memory and resources allocated to single program (usually just one)

has at least one thread (main thread)

48
New cards

Concurrency

performs more than one thing simultaneously. is mimicked in java as it switches back and forth between threads

49
New cards

Race Condition

2 or more threads have access to an object’s data and you don’t know which thread will finish first. the time they read the values may not be the expected value before performing operations

50
New cards

synchronization

synchronized keyword used for methods or blocks of code to avoid thread interference. only one thread can run that piece of code at a time

51
New cards

Reentrant Lock

a lock put on a specific resource so that no other thread can access it while in use. uses lock() and must be unlocked by unlock()

52
New cards

Deadlock

2 threads hold a resource that the other thread wants but won’t unlock/release it until it receives the resource it needs.

53
New cards

livelock

like deadlock but the state of processes are constantly changing in regards to each other. depends on timing and may not happen all the time

54
New cards

starvation

process is perpetually denied necessary resources. forever in a state of waiting

55
New cards

optional

wrapper containing an object or null value

has a return type so it will never return null

solves problem of null pointer exception especially when chaining method calls

Explore top notes

Imperialism Rise in Nationalism • During the French and Industrial Revolution, nationalism continued to inspire nations to increase their political and economic power. • Nationalism became the ideal force in the political, economic, and cultural life in the world, becoming the first universal ideology-organizing all people into a nation state. Nationalism Defined • The strong belief that the interest of a particular nation-state is of primary importance. o Nation-State – a state where the vast majority shares the same culture and is conscious of it. It is an ideal in which cultural boundaries match up with political ones. • As an ideology, it is based on the idea that the individual’s loyalty and devotion to the nation-state surpass other individual/group interests. • Exalting one nation’s belief above all others and placing primary emphasis on promotion of its culture and interests, excluding the interests of others. Changing the World through a Nationalistic Vision • The French Revolution significantly changed the political world and how countries govern. • The Industrial Revolution significantly changed the economic world. • The Age of Imperialism (1870-1914) dramatically changed the political, economic, and social world. What is Imperialism? • Imperialism- The policy of extending the rule of authority of an empire or nation over foreign countries, or of acquiring and holding colonies and dependencies. Power and influence are done through diplomacy or military force. Reasons for Imperialism • There are 5 main motives for empires to seek to expand their rule over other countries or territories: 1. Exploratory • Imperial nations wanted to explore territory unknown to them. • The main purpose for this exploration of new lands was for resource acquisition, medical or scientific research. o Charles Darwin • Other reasons: o Cartography (map making) o Adventure 2. Ethnocentric • Europeans acted on the concept of ethnocentrism o Ethnocentrism- the belief that one race or nation is superior to others. • Ethnocentrism developed out of Charles Darwin’s “survival of the fittest” theory. Philosophers used the theory to explain why there were superior races and inferior races. o This became known as Social Darwinism. • Most imperial nations believed that their cultural values or beliefs were superior to other nations or groups. • Believed imperial conquest would bring successful culture to inferior people. 3. Religious • Imperial expansion promoted a religious movement of people setting out to convert new members of conquered territories. • With the belief that Christianity was superior, missionaries believed it was their duty to spread Christianity to the world. • Christian missionaries established churches, and in doing so, they spread Western culture values as well. • Typically, missionaries spread the imperial nation's language through education and religious interactions. 4. Political • Patriotism and Nationalism helped spur our imperial growth, thus creating competition against other supremacies. • It was a matter of national pride, respect, and security. • Furthermore, European rivalry spurred nations for imperial conquest. Since land equaled power, the more land a country could acquire the more prestige they could wield across the globe. • Empires wanted strategic territory to ensure access for their navies and armies around the world. • The empire believed they must expand, thus they needed to be defended. 5. Economic • With the Industrial Revolution taking place during the same time, governments and private companies contributed to find ways to maximize profits. • Imperialized countries provided European factories and markets with natural resources (old and new) to manufacture products. • Trading posts were strategically placed around imperialized countries to maximize and increase profits. o Such places as the Suez Canal in Egypt which was controlled by the British provided strategic choke hold over many European powers. o Imperial powers competed over the best potential locations for resources, markets, and trade. History of Imperialism • Ancient Imperialism 600 BCE-500 CE o Roman Empire, Ancient China, Greek Empire, Persian Empire, Babylonian Empire. • Middle Age Imperialism (Age of Colonialism-1400-1800s) o Great Britain, Spain, Portugal, France, Netherlands (Dutch), Russia. • Age of Imperialism 1870-1914 o Great Britain, Spain, Portugal, France, Germany, Belgium, Italy, Japan, United States, Ottoman Empire, Russia. • Current Imperialism...? o U.S. Military intervention (i.e. Middle East) o Russia’s Invasion of Ukraine. Imperialism Colonialism • Refers to political or economic control, either legally or illegally. • Refers to where one nation assumes control over the other. • Creating an empire, expanding into neighboring regions and expanding the dominance far outside its borders. • Where a country conquers and rules over other regions for exploiting resources from the conquered country for the conqueror's benefit. • Foreign government controls/governs a territory without significant settlement. • Foreign government controls/governs the territory from within the land being colonized. • Little to no new settlement established on fresh territory. • Movement to settle to fresh territory. Age of Colonialism WHEN? • Started around the late 1400s and ended around the late 1700s/early 1800s. WHY? • Primary Reason: European countries, wished to find a direct trade route to Asia (China & India) and the East Indies. o Quicker and relatively more effective than land routes over Asia. • Secondary Reason: Empire expansion (land power) WHO? • Countries involved: Great Britain, France, Spain, the Dutch & Portugal. • Individuals’ knowns as Mercantilists believed that maintaining imperialized territory and colonizing the region could serve as a source of wealth, while personal motives by rulers, explorers, and missionaries could therefore promote their own agenda. o This agenda being “Glory, God and Gold”. Mercantilism • Mercantilism was a popular and main economic system for many European nations during the 16th to 18th centuries. • The main goal was to increase a nation’s wealth by promoting government rule of a nation’s economy for the purpose of enhancing state power at the expense of rival national power. • It was the economic counterpart of political absolutism. Why did mercantilists want colonies? • Mercantilists believed that a country must have an excess of exports over imports. • By colonizing territory, it provided the nation with indispensable wealth of precious raw materials. • Therefore, the claimed territory served as a market and supplier of raw materials for the mother country. Which, in time, provided an excess of exports for the nation and thus created wealth. o Development of Trading Companies to support this economic system. Hudson Bay Company – (1670). Controlled primarily North America. o Dutch East Indie Trading Company (1682) o East Indian Trading Company (1600) o Royal African Trade Company (1672) WHERE? • European nations begun to colonize the America, India and the East Indies to create a direct trade route. • Great Britain was the leading power in India, Australia and North America, South Africa. • Spain colonized central and South America. • French held Louisiana, coastal land of Africa and French Guinea. • The Dutch built an empire in the East Indies. • The Portuguese was able to take control of present-day Brazil and the southern tip of South America and Japan. Age of Colonialism • As countries started to imperialize these regions, eventually the concept of colonization took hold: • This is what makes the Age of Colonialism extremely different! End of Colonialism • By 1800, colonialism became less popular • Why? o Revolutions (Spain, France & American) o The Napoleonic Wars o Struggle for nationalism and democracy. o Exhausted all money and energy to supervise their colonies. Waiting to wake again • Imperialism would stay quiet for close to 50 years before Great Britain and France’s economies revitalized. • The outbreak of the Industrial Revolution only encouraged and revitalized European nations to begin their conquest for new territory and resources. Age of Imperialism THE SCRAMBLE FOR AFRICA 1870-1914 Conditions Prior to Imperialism of Africa  European interest in exploiting Africa was minimal.  Their economic interests & profit in Africa primarily came through coastal trade that took place during the 1500-1700s.  The slave trade became the main source of European profit.  Furthermore, disease, political instability, lack of transportation and unpredictable climate all discouraged Europeans from seeking territory. Slave Trade & the Trans-Atlantic Slave Voyages  Forced labor was not uncommon during the 13-17th Centuries. Africans and Europeans had been trading goods and people across the Mediteranea for centuries.  This all changed from 1526 to 1867, as a new system of slavery was introduced that became highly “commercialized, racialized and inherited”  By 1690, the America and West Indies saw approximately 30,000 African people shipped from Africa. A century later, that number grew to 85,000 people per year.  By 1867, approximately 12.5 million people (about twice the population of Arizona) left Africa in a slave ship. What Changed? 1. End of the Slave Trade- Left a need for trade between Europe and Africa. 2. Innovation in technology- The steam engine and iron hulled boats allowed Europe 3. Discovery of new raw materials- Explorers located vast raw materials and resources and this only spurred imperialism with Europe in the wake of the Industrial Revolution. 4. Politics- Unification of Germany and Italy left little room to expand in Europe. Germany and Italy both needed raw materials to “catch up” with Britain and France so they looked to Africa. The Scramble for Africa  The scramble started in 1870.  Although some coastal land had previously been acquired before 1870, the need for territory quickly accelerated as European countries looked t get deeper into Africa.  Within 20 years, nearly all continents were placed under imperialistic rule. Who was Involved?  Great Britain  France  Germany  Italy  Portugal  Belgium  Spain (kind) Violent Affairs  Violence broke out multiple times when European nations looked to claim the same territory.  Germ Chancellor. Otto van Bismarck. Attempted to avert the possibility of violence against the European powers.  In 1884, Bismarck organized a conference in Berlin for the European nations. The Berlin Conference (1884-85)  The conference looked to set ground rules for future annexation of African territory by European Nations.  Annexation is the forcible acquisition and assertion of legal title over one state’s territory by another state, usually following military occupation of the territory.  From a distant perspective, it looked like it would reduce tensions among European nations and avert war.  At the heart of the meeting, these European countries negotiated their claims to African territory, made it official and then mapped their regions.  Furthermore, the leaders agreed to allow free trade among imperialized territory and some homework for negotiating future European claims in Africa was established. Further Path  After the conference, european powers continued to expand their claims in Africa so that by 1900. 90% of the African territory had been claimed. A Turn towards Colonization?  Upon the imperialization of African territory, European nations and little interest in African land unless it produced economic wealth.  Therefore, European governments put little effort and expertise into these imperialized regions.  In most cases, this emat a form of indirect rule. Thus, governing the natin without sufficient settlement and government from within the mother country. Some Exceptions  There were some exemptions through in Africa as colonization was a necessary for some regions i n Africa.  Some regions where diamonds and gold were present. Government looked to protectorate the regions and establish rule and settlement in the regions.  Protectorates: A state controlled and protected by another state for defense against aggression and other law violations. Would  Some examples include South Africa, Botswana, Zimbabwe and Congo. Conclusion  Although it may appear that the Berlin Conference averted war amid the African Scramble, imperialism eventually brought the world into worldwide conflict.  With the continued desire to create an empire by European nations. World War 1 would break out which can be linked to this quest at imperialism.
Updated 450d ago
note Note
Imperialism Rise in Nationalism • During the French and Industrial Revolution, nationalism continued to inspire nations to increase their political and economic power. • Nationalism became the ideal force in the political, economic, and cultural life in the world, becoming the first universal ideology-organizing all people into a nation state. Nationalism Defined • The strong belief that the interest of a particular nation-state is of primary importance. o Nation-State – a state where the vast majority shares the same culture and is conscious of it. It is an ideal in which cultural boundaries match up with political ones. • As an ideology, it is based on the idea that the individual’s loyalty and devotion to the nation-state surpass other individual/group interests. • Exalting one nation’s belief above all others and placing primary emphasis on promotion of its culture and interests, excluding the interests of others. Changing the World through a Nationalistic Vision • The French Revolution significantly changed the political world and how countries govern. • The Industrial Revolution significantly changed the economic world. • The Age of Imperialism (1870-1914) dramatically changed the political, economic, and social world. What is Imperialism? • Imperialism- The policy of extending the rule of authority of an empire or nation over foreign countries, or of acquiring and holding colonies and dependencies. Power and influence are done through diplomacy or military force. Reasons for Imperialism • There are 5 main motives for empires to seek to expand their rule over other countries or territories: 1. Exploratory • Imperial nations wanted to explore territory unknown to them. • The main purpose for this exploration of new lands was for resource acquisition, medical or scientific research. o Charles Darwin • Other reasons: o Cartography (map making) o Adventure 2. Ethnocentric • Europeans acted on the concept of ethnocentrism o Ethnocentrism- the belief that one race or nation is superior to others. • Ethnocentrism developed out of Charles Darwin’s “survival of the fittest” theory. Philosophers used the theory to explain why there were superior races and inferior races. o This became known as Social Darwinism. • Most imperial nations believed that their cultural values or beliefs were superior to other nations or groups. • Believed imperial conquest would bring successful culture to inferior people. 3. Religious • Imperial expansion promoted a religious movement of people setting out to convert new members of conquered territories. • With the belief that Christianity was superior, missionaries believed it was their duty to spread Christianity to the world. • Christian missionaries established churches, and in doing so, they spread Western culture values as well. • Typically, missionaries spread the imperial nation's language through education and religious interactions. 4. Political • Patriotism and Nationalism helped spur our imperial growth, thus creating competition against other supremacies. • It was a matter of national pride, respect, and security. • Furthermore, European rivalry spurred nations for imperial conquest. Since land equaled power, the more land a country could acquire the more prestige they could wield across the globe. • Empires wanted strategic territory to ensure access for their navies and armies around the world. • The empire believed they must expand, thus they needed to be defended. 5. Economic • With the Industrial Revolution taking place during the same time, governments and private companies contributed to find ways to maximize profits. • Imperialized countries provided European factories and markets with natural resources (old and new) to manufacture products. • Trading posts were strategically placed around imperialized countries to maximize and increase profits. o Such places as the Suez Canal in Egypt which was controlled by the British provided strategic choke hold over many European powers. o Imperial powers competed over the best potential locations for resources, markets, and trade. History of Imperialism • Ancient Imperialism 600 BCE-500 CE o Roman Empire, Ancient China, Greek Empire, Persian Empire, Babylonian Empire. • Middle Age Imperialism (Age of Colonialism-1400-1800s) o Great Britain, Spain, Portugal, France, Netherlands (Dutch), Russia. • Age of Imperialism 1870-1914 o Great Britain, Spain, Portugal, France, Germany, Belgium, Italy, Japan, United States, Ottoman Empire, Russia. • Current Imperialism...? o U.S. Military intervention (i.e. Middle East) o Russia’s Invasion of Ukraine. Imperialism Colonialism • Refers to political or economic control, either legally or illegally. • Refers to where one nation assumes control over the other. • Creating an empire, expanding into neighboring regions and expanding the dominance far outside its borders. • Where a country conquers and rules over other regions for exploiting resources from the conquered country for the conqueror's benefit. • Foreign government controls/governs a territory without significant settlement. • Foreign government controls/governs the territory from within the land being colonized. • Little to no new settlement established on fresh territory. • Movement to settle to fresh territory. Age of Colonialism WHEN? • Started around the late 1400s and ended around the late 1700s/early 1800s. WHY? • Primary Reason: European countries, wished to find a direct trade route to Asia (China & India) and the East Indies. o Quicker and relatively more effective than land routes over Asia. • Secondary Reason: Empire expansion (land power) WHO? • Countries involved: Great Britain, France, Spain, the Dutch & Portugal. • Individuals’ knowns as Mercantilists believed that maintaining imperialized territory and colonizing the region could serve as a source of wealth, while personal motives by rulers, explorers, and missionaries could therefore promote their own agenda. o This agenda being “Glory, God and Gold”. Mercantilism • Mercantilism was a popular and main economic system for many European nations during the 16th to 18th centuries. • The main goal was to increase a nation’s wealth by promoting government rule of a nation’s economy for the purpose of enhancing state power at the expense of rival national power. • It was the economic counterpart of political absolutism. Why did mercantilists want colonies? • Mercantilists believed that a country must have an excess of exports over imports. • By colonizing territory, it provided the nation with indispensable wealth of precious raw materials. • Therefore, the claimed territory served as a market and supplier of raw materials for the mother country. Which, in time, provided an excess of exports for the nation and thus created wealth. o Development of Trading Companies to support this economic system. Hudson Bay Company – (1670). Controlled primarily North America. o Dutch East Indie Trading Company (1682) o East Indian Trading Company (1600) o Royal African Trade Company (1672) WHERE? • European nations begun to colonize the America, India and the East Indies to create a direct trade route. • Great Britain was the leading power in India, Australia and North America, South Africa. • Spain colonized central and South America. • French held Louisiana, coastal land of Africa and French Guinea. • The Dutch built an empire in the East Indies. • The Portuguese was able to take control of present-day Brazil and the southern tip of South America and Japan. Age of Colonialism • As countries started to imperialize these regions, eventually the concept of colonization took hold: • This is what makes the Age of Colonialism extremely different! End of Colonialism • By 1800, colonialism became less popular • Why? o Revolutions (Spain, France & American) o The Napoleonic Wars o Struggle for nationalism and democracy. o Exhausted all money and energy to supervise their colonies. Waiting to wake again • Imperialism would stay quiet for close to 50 years before Great Britain and France’s economies revitalized. • The outbreak of the Industrial Revolution only encouraged and revitalized European nations to begin their conquest for new territory and resources. Age of Imperialism THE SCRAMBLE FOR AFRICA 1870-1914 Conditions Prior to Imperialism of Africa  European interest in exploiting Africa was minimal.  Their economic interests & profit in Africa primarily came through coastal trade that took place during the 1500-1700s.  The slave trade became the main source of European profit.  Furthermore, disease, political instability, lack of transportation and unpredictable climate all discouraged Europeans from seeking territory. Slave Trade & the Trans-Atlantic Slave Voyages  Forced labor was not uncommon during the 13-17th Centuries. Africans and Europeans had been trading goods and people across the Mediteranea for centuries.  This all changed from 1526 to 1867, as a new system of slavery was introduced that became highly “commercialized, racialized and inherited”  By 1690, the America and West Indies saw approximately 30,000 African people shipped from Africa. A century later, that number grew to 85,000 people per year.  By 1867, approximately 12.5 million people (about twice the population of Arizona) left Africa in a slave ship. What Changed? 1. End of the Slave Trade- Left a need for trade between Europe and Africa. 2. Innovation in technology- The steam engine and iron hulled boats allowed Europe 3. Discovery of new raw materials- Explorers located vast raw materials and resources and this only spurred imperialism with Europe in the wake of the Industrial Revolution. 4. Politics- Unification of Germany and Italy left little room to expand in Europe. Germany and Italy both needed raw materials to “catch up” with Britain and France so they looked to Africa. The Scramble for Africa  The scramble started in 1870.  Although some coastal land had previously been acquired before 1870, the need for territory quickly accelerated as European countries looked t get deeper into Africa.  Within 20 years, nearly all continents were placed under imperialistic rule. Who was Involved?  Great Britain  France  Germany  Italy  Portugal  Belgium  Spain (kind) Violent Affairs  Violence broke out multiple times when European nations looked to claim the same territory.  Germ Chancellor. Otto van Bismarck. Attempted to avert the possibility of violence against the European powers.  In 1884, Bismarck organized a conference in Berlin for the European nations. The Berlin Conference (1884-85)  The conference looked to set ground rules for future annexation of African territory by European Nations.  Annexation is the forcible acquisition and assertion of legal title over one state’s territory by another state, usually following military occupation of the territory.  From a distant perspective, it looked like it would reduce tensions among European nations and avert war.  At the heart of the meeting, these European countries negotiated their claims to African territory, made it official and then mapped their regions.  Furthermore, the leaders agreed to allow free trade among imperialized territory and some homework for negotiating future European claims in Africa was established. Further Path  After the conference, european powers continued to expand their claims in Africa so that by 1900. 90% of the African territory had been claimed. A Turn towards Colonization?  Upon the imperialization of African territory, European nations and little interest in African land unless it produced economic wealth.  Therefore, European governments put little effort and expertise into these imperialized regions.  In most cases, this emat a form of indirect rule. Thus, governing the natin without sufficient settlement and government from within the mother country. Some Exceptions  There were some exemptions through in Africa as colonization was a necessary for some regions i n Africa.  Some regions where diamonds and gold were present. Government looked to protectorate the regions and establish rule and settlement in the regions.  Protectorates: A state controlled and protected by another state for defense against aggression and other law violations. Would  Some examples include South Africa, Botswana, Zimbabwe and Congo. Conclusion  Although it may appear that the Berlin Conference averted war amid the African Scramble, imperialism eventually brought the world into worldwide conflict.  With the continued desire to create an empire by European nations. World War 1 would break out which can be linked to this quest at imperialism.
Updated 450d ago
note Note